package com.yami.shop.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yami.shop.bean.model.Member;
import com.yami.shop.bean.model.ShopMember;

public interface MemberService extends IService<ShopMember> {

    IPage<ShopMember> pagebyMember(Page<ShopMember>page,ShopMember shopMember);

    void addShopMember(Member Member);

    ShopMember getMember(Long memberId);

    Member getRepeatMember(Member member);

    void updateStatus(Long memberId);

    void restoreMember(Long memberId);
}
